<div>
    <div class="row" v-if="reportCustomComponentRelManageInfo.curComponent != 'addReportCustomComponentRel'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>{{reportCustomComponentRelManageInfo.title}}<span><vc:i18n name="组件" namespace="reportCustomComponentRelManage"></vc:i18n></span></h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-white btn-sm"
                            v-on:click="_goBack()">
                            返回
                        </button>
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddReportCustomComponentRelModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            关联组件
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center"><span><vc:i18n name="关系编号" namespace="reportCustomComponentRelManage"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="组件" namespace="reportCustomComponentRelManage"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="报表编号" namespace="reportCustomComponentRelManage"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="组件序号" namespace="reportCustomComponentRelManage"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="关联时间" namespace="reportCustomComponentRelManage"></vc:i18n></span></th>
                                <th class="text-center"><span><vc:i18n name="操作" namespace="reportCustomComponentRelManage"></vc:i18n></span></th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr
                                v-for="reportCustomComponentRel in reportCustomComponentRelManageInfo.reportCustomComponentRels">
                                <td class="text-center">{{reportCustomComponentRel.relId}}</td>
                                <td class="text-center">{{reportCustomComponentRel.componentName}}</td>
                                <td class="text-center">{{reportCustomComponentRel.customId}}</td>
                                <td class="text-center">{{reportCustomComponentRel.seq}}</td>
                                <td class="text-center">{{reportCustomComponentRel.createTime}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteReportCustomComponentRelModel(reportCustomComponentRel)"><span><vc:i18n name="删除" namespace="reportCustomComponentRelManage"></vc:i18n></span></button>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>
    <div v-else>
        <vc:create path="dev/addReportCustomComponentRel" callBackListener="" callBackFunction=""></vc:create>
    </div>
    <vc:create path="dev/deleteReportCustomComponentRel"></vc:create>
</div>
